﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;

namespace QL_LichCT.Entities
{
    class View_CoLichLT
    {
 
          private int _thu;
 
          public int thu
          {
           get { return _thu; }
           set { _thu = value; }
          }
 
          private string _mamon;
 
          public string mamon
          {
           get { return _mamon; }
           set { _mamon = value; }
          }
 
          private string _tenmon;
 
          public string tenmon
          {
           get { return _tenmon; }
           set { _tenmon = value; }
          }
 
          private string _malop;
 
          public string malop
          {
           get { return _malop; }
           set { _malop = value; }
          }
 
          private int _siso;
 
          public int siso
          {
           get { return _siso; }
           set { _siso = value; }
          }
 
          private int _tiet_bd;
 
          public int tiet_bd
          {
           get { return _tiet_bd; }
           set { _tiet_bd = value; }
          }
 
          private int _sotiet;
 
          public int sotiet
          {
           get { return _sotiet; }
           set { _sotiet = value; }
          }
 
          private string _maphong;
 
          public string maphong
          {
           get { return _maphong; }
           set { _maphong = value; }
          }
 
          private int _tuan_bd;
 
          public int tuan_bd
          {
           get { return _tuan_bd; }
           set { _tuan_bd = value; }
          }
 
          private int _tuan_kt;
 
          public int tuan_kt
          {
           get { return _tuan_kt; }
           set { _tuan_kt = value; }
          }

          public View_CoLichLT(DataRow row)
          {
                this._thu = (int)row["thu"];
                this._mamon = row["mamon"].ToString();
                this._tenmon = row["tenmon"].ToString();
                this._malop = row["malop"].ToString();
                this._siso = (int)row["siso"];
                this._tiet_bd = (int)row["tiet_bd"];
                this._sotiet = (int)row["sotiet"];
                this._maphong = row["maphong"].ToString();
                this._tuan_bd = (int)row["tuan_bd"];
                this._tuan_kt = (int)row["tuan_kt"];
          }
    }
}
